package com.easy.bean;


import io.micrometer.common.lang.Nullable;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

@Data
public class Schedule {
    private Integer id;
    private Integer doctor_id;
    @Nullable
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date date;
    private String time_slot;
    private Integer max_num;
    private Integer remaining;
    private Integer is_deleted = 0;
    private String departmentName;
}